package com.x.bff.app.model.vo.directory;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@ApiModel
public class RegionVO {

    @ApiModelProperty(value = "区域id")
    private Integer id;

    @ApiModelProperty(value = "父区域id")
    private Integer parentId;

    @ApiModelProperty(value = "地区层级 0 国家 1 省份 2 市区 3 区县")
    private Integer level;

    @ApiModelProperty(value = "地区名称")
    private String name;
    private Double lng;
    private Double lat;

    /**
     * 所属国家id
     */
    private Integer countryId;
}
